#ifndef UPDATECOMM_H
#define UPDATECOMM_H

#include <iostream>
#include <boost/tokenizer.hpp>
#include <boost/algorithm/string.hpp> 
#include <string>

#include "SQLSystem.h"
#include "Command.h"
#include "Helper.h"
#include "VarcharCell.h"
#include "IntCell.h"
#include "NullCell.h"
#include "WherePart.h"
#include "Cell.h"


using namespace std;
using namespace boost;

class Command;
class SQLSystem;

class UpdateCommand :
	public Command
{
public:
	UpdateCommand(SQLSystem* sql);
	~UpdateCommand();
	virtual int execute(const string &str);
	void displaySelectedRows(vector<string> columnsToDisplay, vector<Row *> rowsToDisplay, vector<int> typeOfCells, Table* table);

private:
	Helper* helper;
	
};

#endif
